package com.zpeb.pdd.service;

import com.zpeb.pdd.entity.User;
import org.apache.catalina.LifecycleState;

import java.util.List;

/**
 * @author VX5
 * @Title: MJC
 * @ProjectName pdd
 * @Description: TODO
 * @date ${DAT}10:31
 */
public interface UserInfo {
    int addUser(User user) throws Exception;

    int updateUser(User user,String id) throws Exception;

    User selectById(String id) throws Exception;

    List<User> selectAll() throws Exception;

    int deleteUser(String id) throws Exception;

    User getPasswordByUsername(String userName) throws Exception;

    List<User> getRoleBUser() throws Exception;

    List<User> getRoleCUser() throws Exception;
}
